<template>
  <div class="check-btn" :class="{checked: isChecked}">
    <img src="@/assets/img/cart/tick.svg" alt />
  </div>
</template>

<script>
export default {
  props: {
    isChecked: {
      type: Boolean,
      default: false,
    },
  },
}
</script>

<style scoped>
.check-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #aaa;
}
.checked {
  background-color: var(--color-tint);
  border: 2px solid var(--color-tint);
}
</style>